<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AyoudaMe | Donations</title>

<!-- start styles css -->

<link type="text/css" href="<?php echo base_url()?>assets/css/base/jquery.ui.all.css" rel="stylesheet" />
<link type="text/css" rel="stylesheet" href="<?php echo base_url()?>assets/css/adminz.styles.css" />
<link type="text/css" rel="stylesheet" href="<?php echo base_url()?>assets/css/grey.styles.css" />
<link rel="stylesheet" href="<?php echo base_url()?>assets/css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" charset="utf-8" />
<link rel="stylesheet" href="<?php echo base_url()?>assets/css/table.styles.css" type="text/css" media="print, projection, screen" />
 <!-- begin chart styles -->
 <link href="<?php echo base_url()?>assets/css/visualize.css" type="text/css" rel="stylesheet" />	
 <link href="<?php echo base_url()?>assets/css/visualize-light.css" type="text/css" rel="stylesheet" /><!-- end chart css -->

 <link rel="stylesheet" href="<?php echo base_url()?>assets/css/jquery.wysiwyg.css" type="text/css" />
 <link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url()?>assets/css/jquery.selectbox.css" />
 
<!--[if IE 8]>
<link type="text/css" rel="stylesheet" href="<?php echo base_url()?>assets/css/ie8.css" />
<![endif]-->
<!--[if IE 7]>
<link type="text/css" rel="stylesheet" href="<?php echo base_url()?>assets/css/ie7.css" />
<![endif]-->
<!-- end styles css -->

<!-- begin javascripts -->
 <script language="javascript" src="<?php echo base_url()?>assets/js/jquery.min.js" type="text/javascript"></script>
 <script src="<?php echo base_url()?>assets/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.ui.core.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.ui.widget.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.ui.mouse.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.ui.sortable.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.tablesorter.min.js"></script>
 <!-- begin tabs scripts -->
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/chili-1.8b.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.cookie.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.ui.tabs.js"></script><!-- end tabs scripts -->

 <!-- begin chart scripts -->
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/excanvas.js"></script>	
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/visualize.jquery.js"></script><!-- end chart scripts -->
 
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.wysiwyg.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.selectbox-0.6.1.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.ui.datepicker.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.ui.progressbar.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.ui.slider.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.scrollbar.js"></script>
 <script type="text/javascript" src="<?php echo base_url()?>assets/js/jquery.custom.js"></script>
 	<script type="text/javascript">
//subnav top menu
$(document).ready(function(){
						   
	$("#top_menu_content li a").hover(function() { //When trigger is clicked...
		
		//Following events are applied to the subnav itself (moving subnav up and down)
		$(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click

		$(this).parent().hover(function() {
		}, function(){	
			$(this).parent().find("ul.subnav").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up
		});

		//Following events are applied to the trigger (Hover events for the trigger)
		}).hover(function() { 
			$(this).addClass("subhover");//On hover over, add class "subhover"
		}, function(){	//On Hover Out
			$(this).removeClass("subhover");//On hover out, remove class "subhover"
	});

});
	$(function() {
		$("#tabs").tabs({
			cookie: {
				// store cookie for a day, without, it would be a session cookie
				expires: 1
			}
		});
	});
	</script><!-- end javascripts -->
    
</head>

<body>
<?php 
//User general Information
    $userName                       = ''; 
    $userEmail                      = '';
    $userPseudo                     = '';
    $useravatar                     = '';
    $userLocation                   = '';
    $userHasPage                    = '';

//Pages general Information
    $page_title     = '';
    $keywords       = ''; 
    $page_title     = '';
    $nbr_cases      = '';
    $prix_case      = '';
    $page_description    = '';
    $short_page_description = '';
    $sommeTotal = $prix_case * $nbr_cases

    
//Settings Information    
?>
<?php 
//User general Information
    if (isset ($userInfo)):  foreach($userInfo as $row): 
        $userName           = $row->user_name;    
        $userEmail          = $row->user_email;
        $userPseudo         = $row->user_pseudo;
        $useravatar         = $row->user_avatar;
        $userLocation       = $row->user_location;
        $userHasPage        = $row->user_has_page;
     endforeach;
     endif; 
 ?>
<?php 
//Pages general Information
    if (isset ($pageInfo)):  foreach($pageInfo as $row): 
        $page_title       = $row->title_page; 
        $nbr_cases        = $row->nbr_cases_page; 
        $prix_case        = $row->prix_case_page;
        $page_description = $row->description_page; 
        $keywords         = $row->keywords_page; 
        $page_id          = $row->id_page; 
        $short_page_description = $row->short_description_page;
     endforeach;
     endif; 
?>
    
    
<!-- start top menu -->
<div id="top_menu">
<div id="top_menu_content">

<!-- start logo -->
<img src="<?php echo base_url()?>assets/img/adminz/logo.png" width="160" height="42" alt="adminz" class="float_left margin_10_0" /><!-- end logo -->

<!-- start menu -->
<ul>
    <li><?php echo anchor('user','Dashboard');?></li>
    <li><?php echo anchor('user/pages','Pages');?>
        <ul class="subnav">
            <li><?php echo anchor('user/pages/create_new','Create New');?></li>
        </ul>
    </li>
    <li class="current"><?php echo anchor('user/donations','Donations');?></li>
    <li><?php echo anchor('user/settings','Settings');?></li>
    <li><?php echo anchor('user/help','Help');?></li>
</ul><!-- end menu -->

<div class="float_right margin_0_20">
	<a href="dashboard.html"><img src="<?php echo base_url()?>assets/img/adminz/settings.png" width="24" height="24" alt="settings" /></a><br />
	<a href="../../user/logout"><img src="<?php echo base_url()?>assets/img/adminz/logout.png" width="24" height="24" alt="logout" /></a>
</div>
		<div id="top_menu_info">
			<img src="<?php echo base_url()?>assets/img/adminz/avatar.png" width="32" height="32" alt="avatar" /><br />
			Hello, <?php echo $userName ?></div>
		</div>
	<div id="top_menu_button" class="down_arrow corners_bottom">&nbsp;</div>
</div><!-- end top menu -->

<!-- start container -->
<div class="container">

<!-- start column -->
<div class="column">

    <?php
    if(isset($donations_for_user)) {  
        foreach($donations_for_user as $row): 
            echo $row->donation_amount . ' - ';
        endforeach;
    }
    ?>
	<!-- start statistics panel -->
	<div class="panel corners">

		<!-- start tabs div title -->
        <div id="tabs">
        <!-- start title -->
        <div class="title corners_top">
            <h6 style="float:left;">Donations</h6>
            <ul style="float:right;">
		<li><a href="#tabs-1">Line</a></li>
            </ul>
        </div><!-- end title -->
		<div class="content">
	
	<div id="tabs-1">
<table class="chart nodisplay" id="line">
	<thead>
		<tr>
			<td></td>
			<th scope="col">Jan</th>
			<th scope="col">Feb</th>
			<th scope="col">Mar</th>
			<th scope="col">Apr</th>
			<th scope="col">May</th>
			<th scope="col">Jun</th>
                        <th scope="col">Jul</th>
                        <th scope="col">Aug</th>
                        <th scope="col">Sep</th>
                        <th scope="col">Oct</th>
                        <th scope="col">Nov</th>
                        <th scope="col">Dec</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<th scope="row">Page 1</th>
			<td>360</td>
			<td>360</td>
			<td>432</td>
			<td>560</td>
			<td>620</td>
			<td>750</td>
                        <td>650</td>
                        <td>750</td>
                        <td>820</td>
                        <td>930</td>
                        <td>840</td>
                        <td>830</td>
		</tr>
        <tr>
			<th scope="row">Page 2</th>
			<td>230</td>
			<td>280</td>
			<td>322</td>
			<td>380</td>
			<td>430</td>
			<td>580</td>
                        <td>610</td>
                        <td>630</td>
                        <td>720</td>
                        <td>730</td>
                        <td>760</td>
                        <td>720</td>
		</tr>
		<tr>
			<th scope="row">Page 3</th>
			<td>190</td>
			<td>260</td>
			<td>332</td>
			<td>450</td>
			<td>550</td>
			<td>650</td>
                        <td>750</td>
                        <td>760</td>
                        <td>750</td>
                        <td>740</td>
                        <td>700</td>
                        <td>630</td>
		</tr>		
		<tr>
			<th scope="row">Page 4</th>
			<td>90</td>
			<td>60</td>
			<td>32</td>
			<td>50</td>
			<td>70</td>
			<td>50</td>
                        <td>50</td>
                        <td>60</td>
                        <td>50</td>
                        <td>40</td>
                        <td>00</td>
                        <td>30</td>
		</tr>		
	</tbody>
</table>	
	</div>

</div><!-- end tabs div -->

</div><!-- end content -->

	</div><!-- end statistics panel -->
    
	<!-- start pages panel -->
	<div class="panel corners">

		<!-- start title -->
		<div class="title corners_top"><h6 id="tables">Table</h6></div><!-- end title -->
		<div class="content"><table cellspacing="1" class="tablesorter">
		<thead>
				<tr>
					<th><input type="checkbox" name="checkall" id="checkall" /></th>
                    <th>Page</th>
                    <th>Category</th>
                    <th>Earnings</th>
                    <th>Status</th>
                    <th>Deadline</th>
                    <th>Actions</th>
	
				</tr>
			</thead>
			<tbody>
				<tr>
					<td><input type="checkbox" name="checkbox1" id="checkbox1" /></td>
                    <td>Tournoi football pour li counards</td>
                    <td>Interact AlJabr</td>
                    <td>20€</td>
                    <td>Pending</td>
                    <td>Mar 12, 2011 11:14 AM</td>
					<td><a href="javascript:();"><img src="<?php echo base_url()?>assets/img/adminz/zoom.png" width="16" height="16" alt="preview" title="preview" /></a>
                    <a href="javascript:();"><img src="<?php echo base_url()?>assets/img/adminz/edit.png" width="16" height="16" alt="edit" title="edit" /></a> 
                    <a href="javascript:();"><img src="<?php echo base_url()?>assets/img/adminz/delete.png" width="16" height="16" alt="delete" title="delete" /></a></td>
				</tr>
				<tr>
					<td><input type="checkbox" name="checkbox2" id="checkbox2" /></td>
                    <td>Doctour Sninates</td>
                    <td>Interact AlJabr</td>
                    <td>80€</td>
                    <td>Published</td>
                    <td>Jan 12, 2010 11:14 AM</td>
					<td><a href="javascript:();"><img src="<?php echo base_url()?>assets/img/adminz/zoom.png" width="16" height="16" alt="preview" title="preview" /></a>
                    <a href="javascript:();"><img src="<?php echo base_url()?>assets/img/adminz/edit.png" width="16" height="16" alt="edit" title="edit" /></a> 
                    <a href="javascript:();"><img src="<?php echo base_url()?>assets/img/adminz/delete.png" width="16" height="16" alt="delete" title="delete" /></a></td>
					
				</tr>
			</tbody>
		</table>
        <div class="float_left margin_10_0">
			<a href="javascript:();"><img src="<?php echo base_url()?>assets/img/adminz/edit.png" width="16" height="16" alt="edit" /></a> 
        	<a href="javascript:();"><img src="<?php echo base_url()?>assets/img/adminz/delete.png" width="16" height="16" alt="delete" /></a></div>
        </div><!-- end title -->
	</div><!-- end pages panel -->

</div><!-- end column -->

<div class="clear"></div>

<!-- begin footer -->
    <?php $this->load->view('modules/footer.php'); ?>
<!-- end footer -->

</div><!-- end container -->

<!-- begin fixed left panel -->
<div class="fixed_left_panel corners_right">
	<div class="hidden_left_div">
		<ul class="list_left">
			<li><a href="javascript:();">5 new orders</a></li>
			<li><a href="javascript:();">2 new comments</a></li>
			<li><a href="javascript:();">1 system error</a></li>
			<li><a href="javascript:();">1 new message</a></li>
			<li><a href="javascript:();">8 new subscribers</a></li>
			<li><a href="javascript:();">4 new articles</a></li>
			<li><a href="javascript:();">2 new topics</a></li>
			<li><a href="javascript:();">6 new posts</a></li>
		</ul></div>
	<div class="show_left_div right_arrow"></div>
<div class="clear"></div></div><!-- end fixed left panel -->

	<!-- begin fixed right panel -->
	<div class="fixed_right_panel fixed_right_panel_hide corners_left">
		<div class="hidden_right_div">
			<div class="date float_left">19 / July / 2010</div>
            <div class="time float_left">18:06</div>
            <div class="clear"></div>
            <div class="all_appointments"><a href="javascript:();">View all appointments</a></div>
            <div class="today_appointments">No appointments today</div>
			<div id="appointments"></div>
		</div>
	<div class="show_right_div left_arrow"></div>
	  <div class="clear"></div>
	</div><!-- end fixed right panel -->

</body>
</html>
